//File Name: main.cpp
//Author: 
//Mail: 
//Created Time: Sun May  7 22:14:49 2017
#include <iostream>  
#include<vector>  
int main()  
{  
    int nums[3] = { 0, 1, 2 };  
    std::vector<int>vs = { 0, 1, 2, 3, 4 };  
    for (int num : nums)  
    {  
        std::cout << num << "\t";  
    }  
    std::cout << std::endl;  
    for (int v : vs)  
    {  
        std::cout << v<<"\t";  
    }  
    std::cout << std::endl;  
    for each (int num  in nums)  
    {  
        std::cout << num << "\t";  
    }  
    std::cout << std::endl;  
    for each (int v  in vs)  
    {  
        std::cout << v << "\t";  
    } 	
	std::cout << std::endl;
    return 0;  
}  
